
package net.mappoint.s.mappoint_30;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlList;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for FindOptions complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="FindOptions">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="Range" type="{http://s.mappoint.net/mappoint-30/}FindRange" minOccurs="0"/>
 *         &lt;element name="SearchContext" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="ResultMask" type="{http://s.mappoint.net/mappoint-30/}FindResultMask"/>
 *         &lt;element name="ThresholdScore" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "FindOptions", propOrder = {
    "range",
    "searchContext",
    "resultMask",
    "thresholdScore"
})
public class FindOptions {

    @XmlElement(name = "Range")
    protected FindRange range;
    @XmlElement(name = "SearchContext")
    protected int searchContext;
    @XmlList
    @XmlElement(name = "ResultMask", required = true)
    protected List<String> resultMask;
    @XmlElement(name = "ThresholdScore", defaultValue = "0.85")
    protected Double thresholdScore;

    /**
     * Gets the value of the range property.
     * 
     * @return
     *     possible object is
     *     {@link FindRange }
     *     
     */
    public FindRange getRange() {
        return range;
    }

    /**
     * Sets the value of the range property.
     * 
     * @param value
     *     allowed object is
     *     {@link FindRange }
     *     
     */
    public void setRange(FindRange value) {
        this.range = value;
    }

    /**
     * Gets the value of the searchContext property.
     * 
     */
    public int getSearchContext() {
        return searchContext;
    }

    /**
     * Sets the value of the searchContext property.
     * 
     */
    public void setSearchContext(int value) {
        this.searchContext = value;
    }

    /**
     * Gets the value of the resultMask property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the resultMask property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getResultMask().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link String }
     * 
     * 
     */
    public List<String> getResultMask() {
        if (resultMask == null) {
            resultMask = new ArrayList<String>();
        }
        return this.resultMask;
    }

    /**
     * Gets the value of the thresholdScore property.
     * 
     * @return
     *     possible object is
     *     {@link Double }
     *     
     */
    public Double getThresholdScore() {
        return thresholdScore;
    }

    /**
     * Sets the value of the thresholdScore property.
     * 
     * @param value
     *     allowed object is
     *     {@link Double }
     *     
     */
    public void setThresholdScore(Double value) {
        this.thresholdScore = value;
    }

}
